﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for SubWordsManager
/// </summary>
public class SubWordsManager
{
    public static List<SubWord> GetModelSubWords()
    {
        List<SubWord> result = new List<SubWord>();
        result.Add(new SubWord("Price", true, "price"));
        result.Add(new SubWord("Spare Parts", true, "spare parts"));
        result.Add(new SubWord("For Sale", true, "for sale"));
        
        return result;
    }

    public static List<SubWord> GetBrandSubWords()
    {
        List<SubWord> result = new List<SubWord>();
        result.Add(new SubWord("Company", true, "company"));
        result.Add(new SubWord("Financials", true, "financials"));
        return result;
    }




}

public class SubWord
{
    public string TitleString { get; set; }

    public bool AddTitleStringAtTheEnd { get; set; }

    public string KeyWord { get; set; }

    public SubWord(string titleString, bool addAtTheEnd, string keyWord)
    {
        this.TitleString = titleString;
        this.AddTitleStringAtTheEnd = addAtTheEnd;
        this.KeyWord = keyWord;
    }
}
